import {a0 as REQUEST} from "./index-Dfdf_Rjk.js";

function getJobList(params) {
    return REQUEST.get("/job/getJobList", params);
}

function createJobAndExecute(data) {
    return REQUEST.post("/job/createJobAndExecute", data);
}

function deleteJob(jobId) {
    return REQUEST.post("/job/deleteJob/".concat(jobId));
}

function getJobResultByJobId(jobId, data) {
    return REQUEST.post("/result/getJobResultByJobId/".concat(jobId), data);
}

function exportJobResultByJobId(params) {
    return REQUEST.get("/result/exportResultByJobId", params, {
        responseType: "blob"
    });
}

function getPeggingResult(data) {
    return REQUEST.post("/result/resultPegging", data);
}

export {
    getPeggingResult as a,
    getJobResultByJobId as b,
    createJobAndExecute as c,
    deleteJob as d,
    exportJobResultByJobId as e,
    getJobList as g
};
